<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style >
      *{
        margin: 0;
        padding: 0;
      }
      li{
        list-style: none;
      }
  </style>
</head>
<body>
  <div id="con" >
    <div>茶叶的今天价格促销</div>
    <div>鼠标模块内容</div>
    <div>门窗内容</div>
    <div>汽车内容</div>
    <div>电视内容</div>
    <div>地方地方</div>
  </div>
  <script src="./tab.js"></script>
  <script>
      new Tab({
        id:"con",
        navlist:["茶叶","鼠标","门窗","汽车","电视","地方"],
        wrapStyle:{
          width:"900px",
          height:"400px",
          background:"pink"
        },
        navStyle:{
          height:"70px",
          navBackground:"gray",
          liBack:"orange",
          liColor:'red'
        }
      })
  </script>

</body>
</html>